#ifndef GLOBALCONFIG_H
#define GLOBALCONFIG_H

class QSettings;
class GlobalConfig
{
private:
    QSettings* settings;
public:
    GlobalConfig();
    void setSettings(QSettings* settings);
    void save();
    void load();

    int interval;
    int maxTask;
    int fetchInterval;
};
extern GlobalConfig gConf;
#endif // GLOBALCONFIG_H
